//
//  ZYCategoryMainCollectionViewCell.m
//  Adorable_Things
//
//  Created by huzhiyan on 16/1/11.
//  Copyright © 2016年 Banana Inc. All rights reserved.
//

#import "ZYCategoryMainCollectionViewCell.h"

@implementation ZYCategoryMainCollectionViewCell

- (void)setModel:(ZYCategoryMainModel *)model
{
    _model = model;
    [_mainImageView sd_setImageWithURL:[NSURL URLWithString:model.icon_url]];
    _titleLabel.font = [UIFont systemFontOfSize:12];
    _titleLabel.text = model.name;
}


- (void)awakeFromNib {
    // Initialization code
    self.layer.cornerRadius = 5;

}

@end
